import Toast from '../../../component/Toast';
import {routerRedux} from 'dva/router';

const defaultState = {
	
	/**
	 * 刷新状态
	 */
	refreshing: false
	
};

export default {

	namespace: 'store',
	
	state: {...defaultState},
	
	reducers: {
		
		/**
		 * 设置刷新状态
		 */
		setRefreshing(state, {refreshing}) {
			return {...state, refreshing};
		}
		
	},
	
	effects: {
		
	},
	
	subscriptions: {
		
	}
	
};